package Entities.Computer;

import Entities.Display.Displayer;
import Entities.Printer.Printer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;


public class LenovoComputer extends Computer {
    public  LenovoComputer(){}

    @Autowired
    public void setDisplayer(Displayer displayer){
        super.displayer=displayer;
    }

    @Autowired
    @Qualifier("epsonPrinter")
    public void setPrinter(Printer printer){
        super.printer=printer;
    }
    @Override
    public String toString() {
        return super.toString();
    }
}